package com.neutech.studentgrade.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.management.StandardEmitterMBean;
import java.io.Serializable;
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Grade implements Serializable {
    private String sno;
    private String sname;
    private String cno;
    private String cname;
    private Integer grade;

    public Grade(String cno,Integer grade) {
        this.cno = cno;
        this.grade = grade;
    }
}

